package com.panda.web.mapper.aims;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.panda.web.entity.aims.CallRecords;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CallRecordsMapper extends BaseMapper<CallRecords> {
    @Select("select * from call_records  where instance_id =#{instanceId} order by creation_time asc")
    List<CallRecords> findByInstanceId(String instanceId);
}
